import React from 'react'
import PropTypes from 'prop-types'
import { Form, Button, Row, Col, Switch,Input, Icon  } from 'antd'
import styles from './List.less'
const Search = Input.Search;

const UserFilter = ({
 roleTitle,
 onClose,
}) => {
  return (
      <div className={styles.filterTop}>
        <div className={styles.title}><span style={{marginRight:20}}>{roleTitle}</span></div>
        <div className={styles.Searchright}>
          <Icon type="close" onClick={onClose} style={{ fontSize: 24, color: '#000',cursor: 'pointer',fontWeight:'bold' }} />
        </div>
      </div>
  )
}



export default Form.create()(UserFilter)
